var arr1 = [1,2,3];

var arr2 = [4,5,6];

var arr3 = [7,8,9];

var result = arr1.concat(arr2,arr3);
console.log(arr1);
console.log(result)
console.log([...arr1,...arr2,...arr3]);
